package com.zoe.vhr.controller;

import com.zoe.vhr.util.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/07/27
 * @Description 欢迎页
 */
@RestController
public class HelloController {
    @GetMapping("/hello")
    public R hello() {
        return R.success("if you see this page,your application is running");
    }

    @GetMapping("/employee/basic/hello1")
    public R basic() {
        return R.success("employee/basic/hello1");
    }

    @GetMapping("/employee/advanced/hello2")
    public R advanced() {
        return R.success("employee/advanced/hello2");
    }
}
